import request from '/@/utils/request'

export interface GetInOutFlowInput {
  startTime?: string
  endTime?: string
  goodsOrCategory?: string
  operatorName?: string
  page?: number
  pageSize?: number
}

export function fetchInOutFlowPage(data: GetInOutFlowInput) {
  return request.post('/api/report/inOutFlow/page', data)
}

export function fetchInOutFlowStats(data: GetInOutFlowInput) {
  return request.post('/api/report/inOutFlow/stats', data)
}


